<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Dair.Video</title>
<link href="css/Video.css" rel="stylesheet" type="text/css" />
<link href="../js/dojox/av/widget/resources/Player.css" rel="stylesheet" type="text/css" />
<script>
djConfig={
	isDebug:true, 				// true debugs to Console or terminal, false, no output
	parseOnLoad: true, 
	airConfig:{
		terminal:false,			// logs to terminal window, does not open Console
		debuggerKey:119,		// the keyCode that opens the Console (doesn't really work)
		introspectorKey:118, 	// the keyCode that opens the Console 
		showTimestamp:false,	// whether to show a timestamp on every line
		showSender:false		// whether to show the file on every line
	}
}

</script>
<script src="../js/dojo/dojo.js"></script>

<script>

dojo.require("dair.AIR");
dojo.require("dair.Video");
dojo.require("dojox.av.widget.Player");
dojo.require("dojox.av.widget.PlayButton");
dojo.require("dojox.av.widget.VolumeButton");
dojo.require("dojox.av.widget.ProgressSlider");
dojo.require("dojox.av.widget.Status");
//setTimeout(function(){console.log("Video.html ready.");}, 500)
</script>


</head>

<body class="tundra">
<h2>Dair.Video Player !</h2>
 
  <!--testing download progress: "https://user.sitepen.com/~mwilcox/dojotoolkit/dojox/av/tests/video/Grog.flv" -->
       
     
	<div dojoType="dojox.av.widget.Player" playerWidth="100%">
        <div controlType="video" initialVolume=".1"
			mediaUrl="media/BillHappy.flv" autoPlay="true" isDebug="false" dojoType="dair.Video"></div>
        
        <div controlType="play" dojoType="dojox.av.widget.PlayButton"></div>
        <div controlType="volume" dojoType="dojox.av.widget.VolumeButton"></div>
        <div controlType="progress" dojoType="dojox.av.widget.ProgressSlider"></div>
        <div controlType="status" dojoType="dojox.av.widget.Status"></div>
    
    </div>
     
 </body>
</html>
